You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Operators > != Operator > Vector.!= Operator ([In] Vector, [In] Vector)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.!= Operator ([In] Vector, [In] Vector)

Returns true, if Left and Right are not equal.

Syntax
C#
Visual Basic
public static bool operator !=([In] Vector Left, [In] Vector Right);

Returns true, if Left and Right do not have equal Length and Values. TMtxVec.IsEqual is called with tolerance 0. 

 

var a,b: Vector; begin a := Vector(TDoubleArray.Create(1,1,1,1,1)); if a <> b then ERaise('a and b are not equal!'); if a <> 1 then ERaise('a does not equals 1!'); //compare to real value if a <> Cplx(1,0) then ERaise('a does not equals 1!'); //compare to complex value end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!